package com.suning.sawp.dto.listener;

import java.io.Serializable;
import java.util.List;

import org.apache.commons.collections.CollectionUtils;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 
 * 门店信息更新mq接口  DTO<br> 
 * 〈功能详细描述〉
 *
 * @author 14062606
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@XStreamAlias("MbfBody")
public class StoreBasicInfoInputDTO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1802159924889730618L;
	
	@XStreamAlias("headInfo")
	private HeadInfo headInfo;
	
	@XStreamAlias("storeBasicInformationsArray")
	private List<StoreBasicInformation> storeBasicInformationList;

	/**
     * 将报文主要字段打出来
     */
    @Override
    public String toString() {
        if (CollectionUtils.isEmpty(storeBasicInformationList)) {
            return "StoreBasicInfoInputDTO [storeBasicInformationList=null]";
        }
        StringBuilder sb = new StringBuilder("StoreBasicInfoInputDTO [");
        for (StoreBasicInformation storeInfo : storeBasicInformationList) {
            sb.append("[" + storeInfo.toString() + "]");
        }
        sb.append("]");

        return sb.toString();
    }
	
	public List<StoreBasicInformation> getStoreBasicInformationList() {
		return storeBasicInformationList;
	}

	public void setStoreBasicInformationList(
			List<StoreBasicInformation> storeBasicInformationList) {
		this.storeBasicInformationList = storeBasicInformationList;
	}

	public HeadInfo getHeadInfo() {
		return headInfo;
	}

	public void setHeadInfo(HeadInfo headInfo) {
		this.headInfo = headInfo;
	}

}
